/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.compomics.specificpeakfinder;

/**
 *
 * @author Jonas
 */
public class SpectrumVariables {

    int scanNumber;         // Scannumber of the MS2-scan
    double firstIntensity;  // Intensity of the peak at m/z 126.0913
    boolean firstFound;
    double highestPeak;     // Highest peak in this MS2-spectrum
    double firstRelativeIntensity;  // Relative intensity of the first m/z, compared to the highest peak
        
    public SpectrumVariables (int scan){
        scanNumber = scan;
    }

    public int getScanNumber() {
        return scanNumber;
    }

    public void setScanNumber(int scanNumber) {
        this.scanNumber = scanNumber;
    }

    public double getFirstIntensity() {
        return firstIntensity;
    }

    public void setFirstIntensity(double firstIntensity) {
        this.firstIntensity = firstIntensity;
    }

    public boolean isFirstFound() {
        return firstFound;
    }

    public void setFirstFound(boolean firstFound) {
        this.firstFound = firstFound;
    }
   
    public double getHighestPeak() {
        return highestPeak;
    }

    public void setHighestPeak(double highestPeak) {
        this.highestPeak = highestPeak;
    }

    public double getFirstRelativeIntensity() {
        return firstRelativeIntensity;
    }

    public void setFirstRelativeIntensity(double firstRelativeIntensity) {
        this.firstRelativeIntensity = firstRelativeIntensity;
    }
    
    @Override
    public String toString() {
        return scanNumber + "\t" + firstFound + "\t" + firstIntensity + "\t" + firstRelativeIntensity + "\t" + highestPeak;
        
//        + "\t" + secondFound + "\t"
//                + secondIntensity + "\t" + secondRelativeIntensity + "\t" 
    }       
    
}
